package com.jianshuai.domain;

import lombok.Data;

import java.util.List;

@Data
public class User {
    private Long id;
    private String userName;
    private Long gender;
    private String phone;

    private String prot;

    private List<Order> orderList;

    public User(Long id, String userName) {
        this.id = id;
        this.userName = userName;
    }

    public User() {
    }

    public User(Long id, String userName, Long gender, String phone, String prot) {
        this.id = id;
        this.userName = userName;
        this.gender = gender;
        this.phone = phone;
        this.prot = prot;
    }
}
